﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Exhibition.Dao.ViewModel;
using Exhibition.Service;

namespace Exhibition.UserCenter
{
    public partial class ShowMessage : BaseUserPage
    {
        public MessageInfoModel model = new MessageInfoModel();
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack) {
                GetData();
            }
        }

        private void GetData()
        {
            model = CenterService.messageInfoService.GetOneById(reqID);
        }
    }
}